package com.qolome.knowledge.design.pattern.factory.abstractfactory;

/**
 * @author Qolome
 * @version V1.0
 * @Description 测试
 * @date 2020年 02月28日 01:57:01
 */
public class DemoTest {

    public static void main(String[] args) {

        ICourseFactory javaCourseFactory = new JavaCourseFactory();
        javaCourseFactory.createNote().edit();
        javaCourseFactory.createVideo().record();

        ICourseFactory pythonCourseFactory = new PythonCourseFactory();
        pythonCourseFactory.createNote().edit();
        pythonCourseFactory.createVideo().record();

    }
}
